'''
@Author: 冯浩
@Date: 2019-12-05 22:30:12
@LastEditors: 冯浩
@LastEditTime: 2019-12-08 22:34:48
@FilePath: \bob_develop\fluent_python\示例5-18.py
'''
import 示例5_10 as a
import inspect

tag = {
    'name': 'img',
    'title': 'sunset',
    'src': 's.jpg',
    'cls': 'framed'
}
sig = inspect.signature(a.tag)
print(sig)  # (name, *content, cls=None, **attrs)
print(a.tag.__annotations__)  # 获取函数行注释
